﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class field
    {
        public static string teacher1;
        public static string teacher2;
        private string student1;
        private string student2;
        private string student3;
        private string student4;

        public string Student1
        {
            get { return this.student1;}
            set { this.student1=value; }
        }
        public string Student2
        {
            get { return this.student2; }
            set { this.student2 = value; }
        }
        public string Student3
        {
            get { return this.student3; }
            set { this.student3 = value; }
        }
        public string Student4
        {
            get { return this.student4; }
            set { this.student4 = value; }
        }
        public string Teacher1
        {
            get { return teacher1; }
            set { teacher1 = value; }
        }
        public string Teacher2
        {
            get { return teacher2; }
            set { teacher2 = value; }
        }


        public void Class()
        {
            this.student1 = "孙悟空";
            this.student2 = "猪八戒";
            this.student3 = "沙和尚";
            this.student4 = "白龙马";
            teacher1 = "唐僧";
            teacher2 = "嫦娥";
        }
    }
}
